﻿<Page x:Class="WpfViewBox.Window4"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Window4" Height="297" Width="500">
    <Grid>
        <StackPanel>
            <WrapPanel Background="LightBlue" Width="406" Height="91" ItemHeight="30" ItemWidth="80" Orientation="Horizontal">
                <Button Width="200">Button 1</Button>
                <Button>Button 2</Button>
                <Button>Button 3</Button>
                <Button>Button 4</Button>
                <Button>Button 4</Button>
                <Button>Button 4</Button>
                <Button>Button 4</Button>
            </WrapPanel>
     
            <WrapPanel Background="LightBlue" Width="290" Margin="0,10,0,0" Height="94" ItemHeight="30" ItemWidth="80" Orientation="Vertical">
                <Button Width="200">Button 1</Button>
                <Button>Button 2</Button>
                <Button>Button 3</Button>
                <Button>Button 4</Button>
                <Button>Button 4</Button>
                <Button>Button 4</Button>
                <Button>Button 4</Button>
            </WrapPanel>
        </StackPanel>
    </Grid>
</Page>
